﻿using System.Numerics;

namespace PiCompressor
{
    public interface IPiCalculator<T>
    {
        ValueTask<T> CalculatePiAsync(BigInteger length);
        ValueTask<BigInteger?> MeasureLengthAsync(T pi);
    }
}
